import Taro, {Component, Config} from '@tarojs/taro'
import { View } from '@tarojs/components'
import { SDBody } from 'sudao-ui'

import './index.less'

export default class IntegralPage extends Component {

  config: Config = {
    navigationBarTitleText: '我的积分',
    backgroundColor: '#fff'
  }

  render () {
    return (
      <SDBody sd-class='container'>
        <View className="section-top">
          <View className="title">8000</View>
          <View className="subtitle">积分</View>
        </View>
        <View className="section-bottom">
          <View className="title">说明：积分可用于下单时抵扣货款，不可转化成现金。</View>
        </View>
      </SDBody>
    )
  }
}
